import random

def generate_prices(n, min_price=1, max_price=100):
    """生成随机股票价格数组"""
    return [random.randint(min_price, max_price) for _ in range(n)]

def generate_fee(min_fee=1, max_fee=10):
    """生成随机交易手续费"""
    return random.randint(min_fee, max_fee)

if __name__ == "__main__":
    prices = generate_prices(10)
    fee = generate_fee()
    print(f"Generated stock prices: {prices}")
    print(f"Generated transaction fee: {fee}")  